package cn.ivicar.iov.controller;


import cn.ivicar.iov.entity.Result;
import cn.ivicar.iov.service.FlowPackageService;
import cn.ivicar.iov.util.ResultUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * @program: iov
 * @description: ${description}
 * @author: Mr.huang
 * @create: 2018-08-20 16:52
 **/
@RestController
public class FlowPackageController {

    @Autowired
    private FlowPackageService flowPackageService;

    @GetMapping(value = "/GetFlowPackage")
    public Result GetFlowPackage(){
        return ResultUtil.success(flowPackageService.getFlowPackage());
    }
}
